package com.chenjunlin.app.common.constant;

public class LinkConstant {

    public static final String domain = "http://nurl.ink/"; //短链接前缀域名

    public static final String SHORT_TO_ORIGINAL_KEY = "shortlink:short:"; //redis缓存full_short_url到original_url的映射

    public static final String SHORT_OF_NO_ORIGINAL_KEY = "shortlink:short:null:";

    public static final String LOCK_SHORT_TO_ORIGINAL_KEY = "shortlink:lock:short_%s"; //查询mysql时的分布式锁前缀
}
